projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0af83b
)
* lisp/newcomment.el (comment-search-backward): Obey the docstring (bug#28428)
author
Stefan Monnier
<monnier@iro.umontreal.ca>
Sat, 23 Sep 2017 21:06:23 +0000
(17:06 -0400)
committer
Stefan Monnier
<monnier@iro.umontreal.ca>
Sat, 23 Sep 2017 21:06:23 +0000
(17:06 -0400)
lisp/newcomment.el
patch
|
blob
|
history
diff --git
a/lisp/newcomment.el
b/lisp/newcomment.el
index 2a0f8a8ae50535c51e084ba5eca1ddb0b4145f8a..2e644c3a99c902d6bfb301f64cd9945dbd760f58 100644
(file)
--- a/
lisp/newcomment.el
+++ b/
lisp/newcomment.el
@@
-524,7
+524,7
@@
Ensure that `comment-normalize-vars' has been called before you use this."
;; comment-search-backward is only used to find the comment-column (in
;; comment-set-column) and to find the comment-start string (via
;; comment-beginning) in indent-new-comment-line, it should be harmless.
- (if (not (re-search-backward comment-start-skip limit
t
))
+ (if (not (re-search-backward comment-start-skip limit
'move
))
(unless noerror (error "No comment"))
(beginning-of-line)
(let* ((end (match-end 0))